package cn.kgc.springboot.redis.service.impl;

import cn.kgc.springboot.redis.vo.EmpVO;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import cn.kgc.springboot.redis.entity.Emp;
import cn.kgc.springboot.redis.service.EmpService;
import cn.kgc.springboot.redis.mapper.EmpMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


@Service
public class EmpServiceImpl extends ServiceImpl<EmpMapper, Emp> implements EmpService{

    @Autowired
    private EmpMapper empMapper;

    @Override
    public List<EmpVO> getEmpVOList() {
        return empMapper.getEmpVOList();
    }
}




